home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6536 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.8 KB

  1. Path: news.kreonet.re.kr!usenet
  2. From: jwhahn@swine.kaist.ac.kr (Hahn Jung Wook)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: MUST READ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  5. Date: 9 Feb 1996 07:42:14 GMT
  6. Organization: Korea Research Environment Open Network (KREONet)
  7. Message-ID: <4fetsm$7i8@news.kreonet.re.kr>
  8. References: <4fanr0$a08@cloner3.netcom.com> <guzzDMFEsH.2Gs@netcom.com>
  9. NNTP-Posting-Host: swine.kaist.ac.kr
  10. X-Newsreader: knews 0.9.3
  11.  
  12. In article <guzzDMFEsH.2Gs@netcom.com>,
  13.     guzz@netcom.com (Adam Gensler) writes:
  14. >On 7 Feb 1996 17:34:24 GMT, jeremyx@ix.netcom.com(Jeremy Johnston ) wrote:
  15. >
  16. >>  o.k. here is the Deal: I want to know the Quickest and most easy way
  17. >>to switch into VGA mode and open a graphic file and print it on the
  18. >>screen in C language, I need details and specific instructions and
  19. >>PLEASE HELP ME! I AM VERY STUPID AND I NEED HELP!
  20. >
  21. >    You're not stupid, you just need to know where to look.  If there is a
  22. >bookstore around where you live, I'd say go in one and browse around the books
  23. >on programming games.  Maybe something like "Bit-Mapped Graphics" or
  24. >"Supercharged Bitmapped Graphics"  (I forget if those are the right names or
  25. >not) are books you should look for.  
  26. >
  27.  
  28.  
  29. Yeah You're not STUPID it's just that you've no experience...
  30.  
  31.  
  32. I guess you're talking PC MSDOS ...
  33. then find out how to change into the appropriate VGA mode 
  34. I think there are functions like int86 in Turbo C  to do it ....
  35. then you can access the vga memory .... directly ... now 
  36. that would be the fastest way ....
  37.  
  38. the VGA memory starts at 0xA00000000 ( I'm not sure of the exact number of 0s)
  39. It's probably a bitmap ( 8bits per pixel) so 
  40. all you gotta do is make line, circle, filled rectangles... plotting functions 
  41.  
  42. etc... look into the Breshnehens Algorithm ....
  43.  
  44. You are not STUPID...
  45. -- 
  46. *********************************************************************`|/'`*****
  47.                        Elm: jwhahn@cair.kaist.ac.kr                 `_ _ "`
  48.          #######       Office:                                       $$  @`
  49.       ### #########       TaeJun, Yu-Sung Ku, Ku Sung Dong           /    |
  50.      ### ### XXX XXX      K.A.I.S.T I/M Department                   |-'. `-=-
  51.  <*#*  =  -  =  -  =   -   -   -   -   -   -   -   -   -  *==###' -=^`-'@/ `. \
  52.      ### ### XXX XXX      Applied Database Labratories        `D}`--=\SUPER { )
  53.       XXXXXXXXX XXX       042) 869-2959                              /`MAN' { }
  54.          XXXXXXX       Home:                                        / |====|( ]
  55.       .  .  .  .  .       Seoul, Kang Nam Ku, Dae Chi Dong         |  /_/\`\o))
  56.       K/ A/ I/ S/ T/      Sunkyung Apt, 2-106                      /  ||  ||  |
  57.                           02) 553-2868 012) 223-2868               `ooo, ooo)`\
  58. *******************************************************************************
  59.   The trouble with superheros is what to do between phone booths. - Ken Kesey
  60.  
  61.